package org.compression.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.model.business.UserManagment;
import org.model.comm.Page;


//@Primary
@Mapper
public interface UserManagmentMapper extends BaseMapper<UserManagment> {

	@Override
	@Select("select * from sm_user limit #{currentPageNum},#{pageSize}")
	public List<UserManagment> getPageBookMagament(Page mPage);

	@Override 
	@Select("select count(*) from sm_user")
	public long getTotal();
	
	@Override 
	@Select("select * from sm_user where login_name like CONCAT('%',#{loginName},'%') ")
	public List<UserManagment> selectName(UserManagment mUserManagment);




}
